package com.smart.client.rainwater;

import com.smart.client.common.Result;
import com.smart.client.core.notice.Notice;
import com.smart.client.core.NoticeType;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * Created By Li Jiaxi
 * <br/>Date: 2023/4/12 15:14
 * <br/>Description:
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
public class RainWaterResult extends Result<List<RainWaterReportResult>> implements Notice {

    /**
     * 主题
     */
    private String topic;

    private Integer qos;

    private Boolean retained;

    @Override
    public NoticeType getType() {
        return NoticeType.RAIN_WATER;
    }
}
